package com.hyfrogx.common.param;

import com.alibaba.fastjson.JSONObject;

/*
 * 重写返回格式
 * ajax接口返回数据格式
 * */
public final class LiResult {
	private int error;
	private String url;
	private Object message;

	public int getError() {
		return error;
	}

	public void setError(int error) {
		this.error = error;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Object getMessage() {
		return message;
	}

	public void setMessage(Object message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}

}
